package com.unism.util;

import java.net.HttpURLConnection;
import java.net.URL;

public class DownPhoneAction {

	public static void downPhone(DownPhone po) {
		HttpURLConnection httpConn_login = null;
		URL url_login;

		try {
			url_login = new URL("http://www.stongnet.com/sdkhttp/sendsms.aspx?reg=101100-WEB-HUAX-533475&pwd=UNISMOPS&sourceadd=&phone="+po.getPhone()+"&content="+po.getContent()+"");
			httpConn_login = (HttpURLConnection) url_login.openConnection();
			if (httpConn_login.getResponseCode() == HttpURLConnection.HTTP_OK) {

			} else {

			}
		} catch (Exception e) {
		} finally {
			if (httpConn_login != null)
				httpConn_login.disconnect();
		}
	}
}
